package com.dingding.service.user.core.biz.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dingding.facade.user.dto.userinfo.ResUserInfoByCancelOrderDTO;
import com.dingding.service.user.core.biz.IUserInfoService;
import com.dingding.service.user.core.dao.IUserInfoDao;

/**
 * 
 * @ClassName: UserInfoServiceImpl 
 * @Description: 用户信息Service接口
 * @author YHQ
 * @date 2016年11月10日 上午11:55:32
 * @since V2.5.6
 * 
 */
@Component("userInfoService")
public class UserInfoServiceImpl implements IUserInfoService {

	@Resource(name = "userInfoDao")
	private IUserInfoDao userInfoDao;
	
	/**
	 * 
	 * @Title: getUserInfoByCancelOrder 
	 * @Description: 获取取消订单的用户信息
	 * @param userId 用户Id
	 * @author YHQ 
	 * @return ResUserInfoByCancelOrderDTO    返回类型
	 * @since V2.5.6
	 * 
	 */
	@Override
	public ResUserInfoByCancelOrderDTO getUserInfoByCancelOrder(String userId) {
		
		return userInfoDao.getUserInfoByCancelOrder(userId);
	}

}
